Component({
  externalClasses: [
    'w-class',
    'w-hover-class'
  ],
  properties: {

    plain: Boolean,
    shape: {
      type: String,
      value: 'circle',
      options: ['square', 'circle', 'semicircle']
    },
    disabled: {
      type: Boolean,
      value: false,
    },
    width: Number,
    height: Number,
    bgColor: String,

    hoverStopPropagation: Boolean,
    hoverStartTime: {
      type: Number,
      value: 20
    },
    hoverStayTime: {
      type: Number,
      value: 70
    },
  },
  methods: {
    // button点击事件
    onTap() {
      if (this.data.disabled) return false;
      this.triggerEvent('onTap', {});

    },

  }
});